/**
 * @filename:SaleOutStockService Feb 18, 2025
 * @project Wonder Vue Admin Api  1.1.0
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.service;
import com.wonder.app.domain.SaleOutStock;
import com.wonder.app.request.SaleOutStockRequest;
import com.wonder.common.common.AjaxResult;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;
import java.util.List;
/**
 * @Description:TODO(销售出库单服务层)
 * @version: 1.1.0
 * @author: Wonder
 * 
 */
public interface SaleOutStockService extends IService<SaleOutStock> {

    
    /**
     * 验证销售出库单信息
     * 
     * @param saleOutStock
     * @param type
     * @return 结果
     */
    public String validate(SaleOutStock saleOutStock,String type);   
   
	
	 /**
	 * Description:销售出库单分页返回
	 * @param request//检索条件
	 * @param page//分页参数
	 * @return IPage<SaleOutStock>   //分页记录
	 */
    public IPage<SaleOutStock> selectList(SaleOutStockRequest request, Page<SaleOutStock> page);
    
	/**
	 * 导入
	 */
	AjaxResult<Object> importData(List<Map<String,Object>> map);
	/**
	 * 导入
	 */
	AjaxResult<Object> importAData(List<Map<String,Object>> map);
	/**
	 * 导入
	 */
	AjaxResult<Object> importAdData(String userName,Long user_id,List<Map<String, Object>> map) throws Exception;
	/**
	 * 导入
	 */
	AjaxResult<Object> importFdData(String userName,Long user_id,List<Map<String, Object>> map) throws Exception;
	/**
	 * 导出数据
	 */
	AjaxResult<Object> dumpdata(SaleOutStockRequest request);

	/**
	 * 删除
	 * @param map
	 * @return
	 */
	Map<String, Object> getSaleOutStockDelete(Map<String, Object> map) throws Exception;
	/**
	 * 详情Stkotherout
	 * @param map
	 * @return
	 */
	Map<String, Object> getSaleOutStockDetail(Map<String, Object> map);
}
